<?php

namespace LowCode\Support;

use LowCode\Traits\HasMake;

/**
 * @method static JsBind make(string $type, mixed $value, string $id = null)
 */
class JsBind extends Fluent
{
    use HasMake;

    public function __construct(string $type, mixed $value, string $id = null)
    {
        parent::__construct([
            'type'=>$type,
            'value'=>$value
        ]);
        $id && $this->setAttribute("id",$id);
    }
}
